home *** CD-ROM | disk | FTP | other *** search
- // Pixel Shader 1.1 generated by NVIDIA Cg compiler
- // cgc version 1.3.0001, build date Jan 7 2005 14:01:35
- // command line args: -q -profile ps_1_1 -entry main
- // source file: ps1_1_shadow_project_z.cg
- //vendor NVIDIA Corporation
- //version 1.0.02
- //profile ps_1_1
- //program main
- //semantic main.DepthMap
- //semantic main.ShadowColor
- //semantic main.WhiteColor
- //var sampler2D DepthMap : : : 1 : 0
- //var float4 ShadowColor : : : 2 : 0
- //var float4 WhiteColor : : : 3 : 0
- //var float4 I.Color : $vin.COLOR0 : COLOR0 : 0 : 0
- //var float4 I.TexCoord0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 0
- //var float I.fDepth : $vin.TEXCOORD1 : TEXCOORD1 : 0 : 1
- //var float4 main : $vout.COLOR : COLOR : -1 : 1
- ps.1.1
- def c0, 1.000000, 0.000000, 0.000000, 0.000000
- texcoord t1
- dp3 t0.rgb, t1, c0
- mov r0.rgb, t0
- + mov r0.a, t0.b
- // 3 instructions
-